package com.self.eduorder.client;

import com.self.commonutils.ordervo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("service-edu")
@Component
public interface CourseClient {

    //根据课程ID查询课程信息
    @PostMapping("/eduservice/coursefront/getCourseInfoOrder/{courseId}")
    CourseWebVoOrder getCourseInfoOrder(
            @PathVariable("courseId") String courseId);



}
